<div class="productItems" onmouseover="javascript:onMouseOverForProduct({$item.productid});" onmouseout="javascript:onMouseOutForProduct({$item.productid});">
	{image path=$item.image type=4 class="border75 lFloat" alt=$item.name|strip_tags|escape}
    <ul>
        <li class="firstChild"><h4>{$item.name}</h4></li>
        <li>
            <strong class="vFriend">{$item.price|number_format:0:",":"."}</strong>
            {*if $item.discount > 0}
                <span class="discount" title="Giảm giá {$item.discount}%">{$item.discount}%</span>
            {/if*}
        </li>
        <li>
        	{if (($item.limited&1<<2) > 0)}
            	<p><strong>Vật sính lễ</strong></p>
           	{/if}
        	<p>Số lượng: 
            	{if $AppUI->fullhouseid > 0}
                	{assign var="quantity" value=$item.quantity*2}
            		{$quantity|number_format:0:",":"."}
               	{else}
                	{$item.quantity|number_format:0:",":"."}
                {/if}
           	</p>
            {if $item.description != ""}
            	{if (($item.limited&1<<2) > 0)}
                    <p>{$item.description|str_wordwrap:50}...</p>
                {else}
                    <p>{$item.description|str_wordwrap:100}...</p>
                {/if}
            {/if}
        </li>
    </ul>
    <div class="sBtn" id="rowProduct{$item.productid}">
        <a href="javascript:;" onclick="javascript:product({$item.productid});"><img src="{$smarty.const.HOST_STATICS}img/btn/product-view.gif" border="0" width="130" height="48" /></a>
        <a href="{$smarty.const.HOST_VFRIEND}product/addbasket?productid={$item.productid}&amp;token={$item.productid|secret:$smarty.const.SE_PRODUCT_ADD_BASKET}&amp;targetid={$intTargetHexId}"><img src="{$smarty.const.HOST_STATICS}img/btn/product-add-basket.gif" border="0" width="130" height="48" /></a>
    </div>
</div>